package org.niit.common

import org.niit.util.SparkUtil
import org.niit.bean.AdClickData
import org.niit.util.JDBCUtil

trait TDao {

  val sc = SparkUtil.takeSC()


  def selectBlackUserById(userid:String):Boolean

  def insertBlackList(userid: String):Unit

  def insertUserAdCount(day:String, user:String, ad:String,count:Int):Unit

  def checkUserByCount(day:String,user:String,ad:String,count:Int):Boolean

}
